package com.poor.user.service.service.impl;


import com.poor.user.service.core.AbstractService;
import com.poor.user.service.dao.PoorUserMapper;
import com.poor.user.service.model.PoorUser;
import com.poor.user.service.service.PoorUserService;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import tk.mybatis.mapper.entity.Condition;

import javax.annotation.Resource;
import java.util.List;


/**
 * Created by lcy on 2018/12/21.
 */
@Service
@Transactional
public class PoorUserServiceImpl extends AbstractService<PoorUser> implements PoorUserService {
    @Resource
    private PoorUserMapper poorUserMapper;

    @Override
    public List<PoorUser> findByWxUnionId(PoorUser poorUser) {
        return poorUserMapper.select(poorUser);
    }
}
